package com.xiaoming.backend.dao.mapper;

import com.xiaoming.backend.entity.db.po.OrderPO;
import com.xiaoming.backend.entity.db.example.OrderPOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface OrderPOMapper {
    long countByExample(OrderPOExample example);

    int deleteByExample(OrderPOExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderPO row);

    int insertSelective(OrderPO row);

    List<OrderPO> selectByExampleWithRowbounds(OrderPOExample example, RowBounds rowBounds);

    List<OrderPO> selectByExample(OrderPOExample example);

    OrderPO selectByPrimaryKey(Integer orderId);

    int updateByExampleSelective(@Param("row") OrderPO row, @Param("example") OrderPOExample example);

    int updateByExample(@Param("row") OrderPO row, @Param("example") OrderPOExample example);

    int updateByPrimaryKeySelective(OrderPO row);

    int updateByPrimaryKey(OrderPO row);
}